#!/usr/bin/python
# -*- coding: UTF-8 -*-

#~ 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder.
#~ 
#~ What is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20?


top = 20
result = top 
d = 1  #~ The divider

while ( 1 ):
  print result
  while ( result%d == 0 and d <= top ):
    if ( d == top ):
      print "RESULT = "+str(result)
      exit ()
    d+=1
  d = 1
  result += top
